/**
 * Copyright (c) 2010 Simple Graph Tools contributors. All rights reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *  
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 *
 * $Id$
 */
package org.sgt.datamodel;

import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.ENamedElement;
import org.sgt.datamodel.util.ExecutionException;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Action</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.sgt.datamodel.Action#getSpecification <em>Specification</em>}</li>
 *   <li>{@link org.sgt.datamodel.Action#getInputs <em>Inputs</em>}</li>
 *   <li>{@link org.sgt.datamodel.Action#getOutputs <em>Outputs</em>}</li>
 *   <li>{@link org.sgt.datamodel.Action#getParameters <em>Parameters</em>}</li>
 *   <li>{@link org.sgt.datamodel.Action#getExecutor <em>Executor</em>}</li>
 *   <li>{@link org.sgt.datamodel.Action#getDataStore <em>Data Store</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.sgt.datamodel.DatamodelPackage#getAction()
 * @model
 * @generated
 */
public interface Action extends ENamedElement {
	/**
	 * Returns the value of the '<em><b>Specification</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Specification</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Specification</em>' reference.
	 * @see #setSpecification(ActionSpecification)
	 * @see org.sgt.datamodel.DatamodelPackage#getAction_Specification()
	 * @model
	 * @generated
	 */
	ActionSpecification getSpecification();

	/**
	 * Sets the value of the '{@link org.sgt.datamodel.Action#getSpecification <em>Specification</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Specification</em>' reference.
	 * @see #getSpecification()
	 * @generated
	 */
	void setSpecification(ActionSpecification value);

	/**
	 * Returns the value of the '<em><b>Inputs</b></em>' map.
	 * The key is of type {@link java.lang.String},
	 * and the value is of type {@link org.sgt.datamodel.Value},
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Inputs</em>' map isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Inputs</em>' map.
	 * @see org.sgt.datamodel.DatamodelPackage#getAction_Inputs()
	 * @model mapType="org.sgt.datamodel.ValueMap<org.eclipse.emf.ecore.EString, org.sgt.datamodel.Value>"
	 * @generated
	 */
	EMap<String, Value> getInputs();

	/**
	 * Returns the value of the '<em><b>Outputs</b></em>' map.
	 * The key is of type {@link java.lang.String},
	 * and the value is of type {@link org.sgt.datamodel.Value},
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Outputs</em>' map isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Outputs</em>' map.
	 * @see org.sgt.datamodel.DatamodelPackage#getAction_Outputs()
	 * @model mapType="org.sgt.datamodel.ValueMap<org.eclipse.emf.ecore.EString, org.sgt.datamodel.Value>"
	 * @generated
	 */
	EMap<String, Value> getOutputs();

	/**
	 * Returns the value of the '<em><b>Parameters</b></em>' map.
	 * The key is of type {@link java.lang.String},
	 * and the value is of type {@link org.sgt.datamodel.Value},
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parameters</em>' map isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parameters</em>' map.
	 * @see org.sgt.datamodel.DatamodelPackage#getAction_Parameters()
	 * @model mapType="org.sgt.datamodel.ValueMap<org.eclipse.emf.ecore.EString, org.sgt.datamodel.Value>"
	 * @generated
	 */
	EMap<String, Value> getParameters();

	/**
	 * Returns the value of the '<em><b>Executor</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Executor</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Executor</em>' reference.
	 * @see #setExecutor(Executor)
	 * @see org.sgt.datamodel.DatamodelPackage#getAction_Executor()
	 * @model
	 * @generated
	 */
	Executor getExecutor();

	/**
	 * Sets the value of the '{@link org.sgt.datamodel.Action#getExecutor <em>Executor</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Executor</em>' reference.
	 * @see #getExecutor()
	 * @generated
	 */
	void setExecutor(Executor value);

	/**
	 * Returns the value of the '<em><b>Data Store</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Data Store</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Store</em>' reference.
	 * @see #setDataStore(DataStore)
	 * @see org.sgt.datamodel.DatamodelPackage#getAction_DataStore()
	 * @model
	 * @generated
	 */
	DataStore getDataStore();

	/**
	 * Sets the value of the '{@link org.sgt.datamodel.Action#getDataStore <em>Data Store</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Store</em>' reference.
	 * @see #getDataStore()
	 * @generated
	 */
	void setDataStore(DataStore value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	void buildFromSpecification();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model exceptions="org.sgt.datamodel.ExecutionException"
	 * @generated
	 */
	void execute() throws ExecutionException;

} // Action
